﻿using Commons.Models.Stats;
using System;

namespace Commons.Models.Definitions
{
	[Serializable]
	public class TimeBasedStatDefinition : IStatDefinition
	{
		public IStatUnit Unit { get; private set; }
		public int Interval { get; private set; }

		public TimeBasedStatDefinition(IStatUnit unit, int interval)
		{
			this.Unit = unit;
			this.Interval = interval;
		}
	}
}
